package com.cbn.ibcp.jishiting.rms.service;

import com.cbn.ibcp.jishiting.rms.bo.ResourceStreamOrgBO;
import com.cbn.ibcp.jishiting.rms.domain.ResourceStreamOrg;

import java.util.List;

public interface IResourceStreamOrgService {

    /**
     * 根据码流和组织查询码流
     *
     * @param tenantCode
     * @param orgCode
     * @param streamId
     * @return
     */
    ResourceStreamOrg selectListByStreamId(String tenantCode, String orgCode, Long streamId);


    /**
     * 根据码流和组织查询码流
     *
     * @param tenantCode
     * @param resourceStreamOrgBO
     * @return
     */
    List<ResourceStreamOrgBO> selectListByBO(String tenantCode, ResourceStreamOrgBO resourceStreamOrgBO);


    /**
     * 根据视频id查询
     *
     * @param tenantCode
     * @param orgCode
     * @param videoId
     * @return
     */
    ResourceStreamOrg selectOneByVideoId(String tenantCode, String orgCode, Long videoId);
}
